package com.woniu.utils;

public interface ConstantUtil {
    String REDIS_BOOK_LIST ="catch:bookList";
    String REDIS_BOOK_DETAIL = "catch:bookDetail";
    String REDIS_KILL_LIST = "kill:BookList";
    String REDIS_KILL_Detail = "kill:BookDetail";

    //分布式锁
    String REDIS_LOCK = "lock";
    String REDIS_KILL_ORDER="killOrder:";

    //rabbitMQ相关
//检查订单
    String EXCHANGE_CHECK_ORDER_STATUS = "exchangeCheckOrderStatus";
    //队列
    String DELAY_QUEUE = "delayQueue";
    //路由
    String ROUTING_KEY_DELAY = "delay";

    //延迟订单取消的延迟时间
    Integer ORDER_TTL = 1000*15;

    //topic 交换机
    String EXCHANGE_KILL_ORDER ="exchangeKillOrder";
    // 队列
    String QUEUE_KILL_ORDER ="queueKillOrder";
    // 挂号队列
    String QUEUE_ORDER ="queueOrder";
    // 路由
    String ROUTING_KEY_KILL_ORDER ="routingKeyKillOrder";




    String EXCHANGE_SURGERY_REMINDER = "exchangeSurgeryReminder";
    String QUEUE_SURGERY_REMINDER = "queueSurgeryReminder";
    String ROUTING_KEY_SURGERY_REMINDER = "routingKeySurgeryReminder";
    Integer SURGERY_REMINDER_DELAY = 1000 * 60 * 2 ; // 10分钟
    // 挂号路由
    String ROUTING_KEY_ORDER ="routingKeyOrder";
}
